import request from '@/utils/request';

export const login = (params) => {
  return request({ url: '/admin/user/login', method: 'post', data: { username: params.username, password: params.password, role: "guanliyuan" }, });
}
export const register = (params) => { return request({ url: '/yonghuxinxi/register', method: 'post', data: { yonghuming: params.username, mima: params.password }, }) }